package com.cams.backend.entity;

import java.time.LocalDate;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cams
 * @since 2022-05-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Work implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 排班编号
     */
    @TableId(value = "wid", type = IdType.AUTO)
    private Integer wid;

    /**
     * 员工账号
     */
    private Integer uid;

    /**
     * 员工姓名
     */
    private String uname;

    /**
     * 工作开始日期
     */
    private LocalDate wsdate;

    /**
     * 工作结束日期
     */
    private LocalDate wedate;


    /**
     * 排班类型（上班/加班）
     */
    private String wtype;


}
